package com.xbdun.web.bmp.controller.system;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(BaseSystemController.ROOT_PATH)
public abstract class BaseSystemController {
	
	@Autowired
	private HttpServletRequest currentRequest;
	protected final static String ROOT_PATH = "/system/";
	/**
	* @Title: getRequest
	* @Description: 获取当前Request
	* @return HttpServletRequest    返回类型
	 */
	protected final HttpServletRequest getRequest(){
		return currentRequest;
	}
}
